import { post } from "../utils/axios-interceptors";
import { router, sider,login } from "./api";
export const getRouter = async (roule: string) => {
  return await post(router, { type: roule });
};

export const getSider = async (roule: string) => {
  return await post(sider, { type: roule });
};

export const loginfuc = async(body:any)=>{
    return await post(login,body)
}
